package com.kenyi.co.ui.login.Bean;

import com.kenyi.co.okhttp.utils.GsonResultok;

import java.util.List;

/**
 * @author syd_12315
 * URL  https://blog.csdn.net/dong19900415
 * @date 2019/8/8
 */
public class AuthLoginBean extends GsonResultok {

    /**
     * datas : {"token":"CO0PND5/2kprEryWC7X1HAvNIcefT2Oz45VPAmW6eRxbQnY4FmgNk3elP40giYWwYznix9Xtw9Ynb7s8y4betbplOBGGF0BbunEZ3pzidpnA==","userInfo":{"userId":"87ba156526215081035268","headAddress":"https://img.91mitang.com/images/vendor/default.png","userName":"GWLCSXKUKY","bindPhone":true,"bindWeChart":false,"role":"staff","likeTags":[]}}
     */

    private DatasBean datas;

    public DatasBean getDatas() {
        return datas;
    }

    public void setDatas(DatasBean datas) {
        this.datas = datas;
    }

    public static class DatasBean {
        /**
         * token : CO0PND5/2kprEryWC7X1HAvNIcefT2Oz45VPAmW6eRxbQnY4FmgNk3elP40giYWwYznix9Xtw9Ynb7s8y4betbplOBGGF0BbunEZ3pzidpnA==
         * userInfo : {"userId":"87ba156526215081035268","headAddress":"https://img.91mitang.com/images/vendor/default.png","userName":"GWLCSXKUKY","bindPhone":true,"bindWeChart":false,"role":"staff","likeTags":[]}
         */

        private String token;
        private UserInfoBean userInfo;

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public UserInfoBean getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(UserInfoBean userInfo) {
            this.userInfo = userInfo;
        }

        public static class UserInfoBean {
            /**
             * userId : 87ba156526215081035268
             * headAddress : https://img.91mitang.com/images/vendor/default.png
             * userName : GWLCSXKUKY
             * bindPhone : true
             * bindWeChart : false
             * role : staff
             * likeTags : []
             */

            private String userId;
            private String headAddress;
            private String userName;
            private boolean bindPhone;
            private boolean bindWeChart;
            private String role;
            private List<String> likeTags;

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getHeadAddress() {
                return headAddress;
            }

            public void setHeadAddress(String headAddress) {
                this.headAddress = headAddress;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public boolean isBindPhone() {
                return bindPhone;
            }

            public void setBindPhone(boolean bindPhone) {
                this.bindPhone = bindPhone;
            }

            public boolean isBindWeChart() {
                return bindWeChart;
            }

            public void setBindWeChart(boolean bindWeChart) {
                this.bindWeChart = bindWeChart;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }

            public List<String> getLikeTags() {
                return likeTags;
            }

            public void setLikeTags(List<String> likeTags) {
                this.likeTags = likeTags;
            }
        }
    }
}
